export default {
  // 快捷键
  // 支持快捷键 例如 ctrl+shift+s
  hotkey: {
    search: {
      open: "s",
      close: "esc",
    },
  },
  // 侧边栏默认折叠状态
  menu: {
    asideCollapse: false,
  },
  // 在读取持久化数据失败时默认页面
  page: {
    opened: [
      {
        name: "index",
        fullPath: "/index",
        meta: {
          title: "首页",
          auth: false,
        },
      },
    ],
  },
  // 菜单搜索
  search: {
    enable: true,
  },
  // 注册的主题
  theme: {
    list: [
      {
        title: "粒子",
        name: "violet",
        backgroundImage: "image/theme/violet/bg.jpg",
        preview: "image/theme/violet/preview.jpg",
      },
      {
        title: "经典",
        name: "d2",
        preview: "image/theme/d2/preview.jpg",
      },
      {
        title: "蓝天",
        name: "line",
        backgroundImage: "image/theme/line/bg.jpg",
        preview: "image/theme/line/preview.jpg",
      },
      {
        title: "地球",
        name: "star",
        backgroundImage: "image/theme/star/bg.jpg",
        preview: "image/theme/star/preview.jpg",
      },
      {
        title: "太空",
        name: "tomorrow-night-blue",
        backgroundImage: "image/theme/tomorrow-night-blue/bg.jpg",
        preview: "image/theme/tomorrow-night-blue/preview.jpg",
      },
      {
        title: "红色",
        name: "red",
        backgroundImage: "image/theme/red/bg.png",
        preview: "image/theme/red/preview.jpg",
      },
      {
        title: "改版",
        name: "new-theme",
        backgroundImage: "",
        preview: "image/theme/red/preview.jpg",
      },
    ],
  },
  // 是否默认开启页面切换动画
  transition: {
    active: true,
  },
  // 布局模式  1=>上左右,2=>左右
  layout: {
    layoutType: 1,
  },
};
